﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Ccit.Utils
{
    /// <summary>
    /// 通用操作类
    /// </summary>
    public class Common
    {
        /// <summary>
        /// 无参构造函数
        /// </summary>
        public Common() { }

        #region public static Methods

        /// <summary>
        /// 释放COM+对象
        /// </summary>
        /// <param name="ComObj">要释放的COM+对象</param>
        public static void ReleaseComObject(object ComObj)
        {
            int iRet = Marshal.ReleaseComObject(ComObj);            
        }

        #endregion
    }

    
}
